package com.easy;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.cache.annotation.EnableCaching;

/**
 * SpringBoot应用启动类
 * 作用：作为程序入口，启动Spring容器并加载所有组件
 */
@SpringBootApplication
@EnableCaching //启用缓存
public class HospitalApplication {
    public static void main(String[] args) {
        SpringApplication.run(HospitalApplication.class,args);
    }
}
